待補充....
function deposit() public{
uint256 userBalance = token[address(0)][msg.sender];
userBalance.add(msg.value);
Deposit(address(0),msg.sender,msg.value,userBalance);
}
function depositToken(address _tokenAddr, uint256 _amount) public{
uint256 userBalance = token[_tokenAddr][msg.sender];
userBalance.add(_amount);
Deposit(_tokenAddr,msg.sender,msg.value,userBalance);
}
function withdraw() public{
//待補...
}
function trade() public{
//待補...
}